package com.project.class4_11.model.watch;

public class Proxy1 implements IWatch{
    private double price;

    @Override
    public void update(Object newValue) {
        //得到最新厂价
        double newPrice = (Double) newValue;

        this.price = newPrice * 1.2;
    }

    public double getPrice(){
        return this.price;
    }
}
